]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
shell-util: Remove shell_breakpoint
authorJasper St. Pierre <jstpierre@mecheye.net>
Fri, 3 Feb 2012 19:20:40 +0000 (14:20 -0500)
committerJasper St. Pierre <jstpierre@mecheye.net>
Fri, 3 Feb 2012 19:21:57 +0000 (14:21 -0500)
A near identical function appears in gjs, in the "system" module:

    const System = imports.system;
    System.breakpoint();

src/shell-util.c
src/shell-util.h

index 0f5e16463b3b5e048e25ee240ff98d478df4e627..27b221743d2024344c995471e65fd542bf1d0d8e 100644 (file)
@@ -678,18 +678,6 @@ shell_get_file_contents_utf8_sync (const char *path,
   return contents;
 }
 
-/**
- * shell_breakpoint:
- *
- * Using G_BREAKPOINT(), interrupt the current process.  This is useful
- * in conjunction with a debugger such as gdb.
- */
-void
-shell_breakpoint (void)
-{
-  G_BREAKPOINT ();
-}
-
 /**
  * shell_parse_search_provider:
  * @data: description of provider
index b0752ae9781e0dfb91e462aaf59861d3d975e2f4..8a8e5b9fc64853be9f5893dbd3469a7481a831f0 100644 (file)
@@ -39,8 +39,6 @@ gboolean shell_write_string_to_stream          (GOutputStream    *stream,
 char    *shell_get_file_contents_utf8_sync     (const char       *path,
                                                 GError          **error);
 
-void     shell_breakpoint                      (void);
-
 gboolean shell_parse_search_provider           (const char       *data,
                                                 char            **name,
                                                 char            **url,